package javaMetaModel;

import java.util.ArrayList;
import java.util.List;
import javaMetaModel.visitor.IMetaModelVisitor;

public class MetaModel {

	private final List<MetaClassifier> mClassifiers = new ArrayList<MetaClassifier>();

	public void add(MetaClassifier aClassifier) {
		this.mClassifiers.add(aClassifier);
	}

	public void remove(MetaClassifier aClassifier) {
		this.mClassifiers.remove(aClassifier);
	}

	public List<MetaClassifier> getClassifier() {
		return this.mClassifiers;
	}

	public void accept(IMetaModelVisitor aVisitor) {
		aVisitor.visitMetaModel(this);
	}
}
